package ar.edu.itba.it.paw.dao;

import java.util.ArrayList;
import java.util.List;

import ar.edu.itba.it.paw.domain.Category;
import ar.edu.itba.it.paw.domain.Product;
import ar.edu.itba.it.paw.domain.Transaction;
import ar.edu.itba.it.paw.domain.User;

public interface ProductDAO {

	public ArrayList<Product> getAllProducts();
	
	public List<Product> getProductsByCategory(Category category);
	
	public void addProduct(Product product,User owner);
	
	public void editProduct(Product product);
	
	public void addTransaction(Transaction transaction);
	
	public Product getProduct(int id);
	
	public void deleteProduct(Product product);
	
	public void buy(Transaction transaction);
}
